package njupt.dao;

import java.util.List;

import njupt.vo.User;
public interface UserDAO {
   public boolean checkusers(User user)throws Exception;
   public int insertuser(User user)throws Exception;
   public List showuser(int currentpage,int pagesize) throws  Exception;
   public int counttotalpage()throws Exception;
   public int updateuserinfo(String realname,String phone,String address,String zipcode,String email,String userid)throws Exception;
   public int checkuserexit(int userid)throws Exception;
   //public List<Integer> selectOrders(int userid)throws Exception;
}
